package com.eduhzy.ttw.commonsdk.entity;

import java.io.Serializable;

public class CommonData<T> implements Serializable {

    /**
     * count : 0
     * data : a
     * messageCode : 0
     * result : true
     * message : 用户名或密码错误
     */

    private int count;
    private T data;
    private int messageCode = -1;
    private boolean result;
    private String message;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getMessageCode() {
        return messageCode;
    }

    public void setMessageCode(int messageCode) {
        this.messageCode = messageCode;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
